<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
    <script src="./javascript/jquery-3.6.0.min.js"></script>
    <script src="./javascript/index.js"></script>
    
    <style>
        .portrait {
            width: 100px;
            height: 70px;
            background-color: cadetblue;
        }
        .article {
            border: 0;
            border-radius: 3px;
            background-color: #eee;
            outline: none;
        }
        .upload_img {
            opacity: 0;
            width: 0px;
            display: none;
        }
        .upload_img_icon {
            height: 40px;
            cursor: pointer;
        }
        .postbtn {
            background-color:darkturquoise;
            font-weight: bold;
            color:#eee
        }
        .article {
            width: 100%;
            height: 200px;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            padding: 10px 20px;
            box-sizing: border-box;
        }
        .articleContainer {
            width: 100%;
            min-height: 500px;
            
        }
        .article .content {
            width: 70%;
            height: 100%;
            text-align: left !important;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        .article .title {
            width: 100%;
            overflow: hidden;
        }
        .auth span {
            margin-right: 20px;
        }
        .img {
            width: 30%;
            height: 80%;
        }
        .img img {
            width: 100%;
            height: 100%;
        }
    </style>
    <title>微博首页</title>
</head>
<body>
    <div class="navtop border w-100 h-25 d-inline-block text-center ">
        <div class="portrait bg-red m-auto border" id="user">
            
        </div>
    </div>
    <div class="container">
        
            
            <div class="content border w-100 h-90 m-auto d-flex ">
        
                <div class="left col-2 border h-85  text-center pt-2">
                    《左侧栏》
                    <div class="nav">
                        <div class="all w-100 text-center ">全部微博</div>
                    </div>
                </div>
                <div class="middle col-7 border h-85 text-center p-2">
                   
                    <form action="/safe/addArticle.do" method="post" enctype="multipart/form-data">
                        <div class="addarticle col-12 h-75" >
                            <!-- <input type="text" id="hide" name="id"> -->
                            <textarea name="id" id="hide" name="id"></textarea>
                            <textarea name="content" id="article"  class="article col-12" placeholder="有什么新鲜事分享给大家" cols="30" rows="3"></textarea>
                            <div class="middle_upload d-flex justify-content-between">
                                <input type="file" name="image" accept="image/*" class="upload_img pull-left" id="upload_img">
                                <img src="./img/upload_img.png" alt="" srcset="" class="upload_img_icon" id="upload_img_icon">
                                <input type="submit" class="btn postbtn" value="发送">
                            </div>
                        </div>
                    </form>

                    <hr>
                    <br>
                    
                    <div class="articleContainer" id="articleContainer">

                    </div>
                </div>
                <div class="right col-3 border h-85 text-center p-2">
                    右侧栏
                </div>
            </div>
        
    </div>
    

</body>

</html>